text view: Fix selection bubble handling
authorMatthias Clasen <mclasen@redhat.com>
Mon, 10 Jun 2019 21:39:14 +0000 (21:39 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 11 Jun 2019 17:45:55 +0000 (17:45 +0000)
commit67c82e8bd9f75d36bda1d293dfe19adc1d98d9fe
tree3d3d7f749f1ad5df1e3ec3db9a2bcbe32db2e588
parent37090a7ab47db0591973369cb677a5e47bed0457
text view: Fix selection bubble handling

We can't call gtk_widget_destroy on something
that wasn't added as a child to a container -
it ends up calling gtk_container_remove, which
asserts if it doesn't find the child.
gtk/gtktextview.c